-- GENERATED SPELL FOR [Wrathscale Siren] --


function spell0_17195(pUnit, Event) --@Screech,n/a--
pUnit:FullCastSpellOnTarget(31273,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17195', 8268, 1)
end

function Sorts_17195(pUnit, Event)
local choix_sorts_17195 = math.random(0, 0)
if choix_sorts_17195 == 0 then
pUnit:RegisterEvent('spell0_17195', 1, 1)
end
end

function mob17195_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17195', math.random(1500, 3000), 1)
end

function mob17195_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17195_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17195_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17195, 1, 'mob17195_Action')
RegisterUnitEvent(17195, 2, 'mob17195_Leave')
RegisterUnitEvent(17195, 3, 'mob17195_Kill')
RegisterUnitEvent(17195, 4, 'mob17195_Die')
